﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace DarkMatter
{
    public interface IChannel
    {
        bool Accept();
        void Send(byte[] bytes);
        event BytesRecievedCallback BytesRecieved;
        string RemoteNodeId { get; }
        string NodeId { get; }
        bool IsConnected { get; }
        Stream Stream { get; }
    }
}
